<?php
 /**
  *
  * motionWeb | A webUI for motion.
  * Copyright (c) 2010-2011 Kyle Hotchkiss Productions
  * Licenced under the GPL.
  *
  * database.php
  *  Settings to load the MySQL database.
  *
  */
 
 if (!defined('motionWeb')) header('Location: /');
  
  
  
 $mwDBhost = "localhost"; 
 $mwDatabase = "motionWeb";
 $mwUsername = "root";
 $mwPassword = "";
 
 
 #
 # Connect to the database. 
 #
 # TODO: Connect data structure to motionWeb class?
 #
 $mwDBconn = mysql_connect($mwDBhost, $mwUsername, $mwPassword) or die("motionWeb could not connect to the database. Check the configuration.");
 mysql_select_db($mwDatabase) or die("motionWeb can't connect to the database you selected, check the database name.");
 
